Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Visual Basic (VB 4/5/6) » General Visual Basic » Getting data to show when selecting from...


Getting data to show when selecting from...Expand / Collapse
Author
Message
Posted 8/5/2008 4:46:45 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/23/2008 10:35:01 AM
Posts: 6, Visits: 18
hi guys, my prob is how to get the customer id and the complete address as "address" when i select a name from the combo box from the Order form,

imma include my project here, please try to see the error, x_x

thanks.

http//sydneyk.sitesled.com/Data.zip

Post #25518
Posted 9/4/2008 1:12:53 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/18/2008 12:36:39 AM
Posts: 8, Visits: 59
Dear readingline
Make some corrections in the Forder form and the results will be as reqd. First FuncInitialGrid is not reqd in Form_Load as it is already used in funcPopGrid. Second modify statement in cboCust_Click routine as below:

'strSQL = "Select customer_id,customer_address & ',' & city & ',' & state as address " & _
'since state field doesn't exist in T_Customer table so error "No value
'given for one or more item..." occurs at line RST.Open

'Modifiy above statement as below :Smartchap
strSQL = "Select customer_id,customer_address & ',' & city & ',' & province & ',' & zip_code" & _
" from T_Customer WHERE customer_name = '" & cboCust & "'"

and you will get the results. If any other query please ask. Also if problem solved please tell.

Always Believe in God.


Always Believe in GOD!
Post #25643
Posted 9/10/2008 4:58:18 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/10/2008 4:46:08 AM
Posts: 3, Visits: 1
I have complete address as "address" when i select a name from the combo box from the Order form,

download cell phone ringtones free downloadable games
Post #25678
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Brian, Peter

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 10:41pm