# Re: Help !!!

Posted by Ta on February 04, 1999 at 10:42:26:

In Reply to: Re: Help !!! posted by AndyLin on February 04, 1999 at 09:30:42:

: DBGrid is can not disign in run time
: it support for design time only

Following is my situation:

DatabaseName: business.mdb contains tables such as
customerName,Product and Transaction

My form has a DBgridComboBox which displays all customer Name. when user click on different customer Name, information in textBoxes will be changed too!

text1.text show customerID
text2.text Show customerAddress
....
....
I have already done this part. Don't worry about it!

What I hope right now is when user click on
Customer Name, DBGrid will show all the transactions made by this customer.

SQL="select * from transaction_
where CustomerID= '" & text1.text & "'"

Data1.RecordSource=SQL
Data1.Refresh

If DBGrid.Datasource=data1 does not work,
how can I assign the final result to DBGrid?

Follow Ups:

- Re: Help !!! AndyLin 13:55:50 2/04/99 (2)
  - Re: Help !!! Ta 06:46:48 2/05/99 (1)
    - Re: Help !!! AndyLin 09:34:31 2/05/99 (0)