Click here to Skip to main content
15,896,063 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Sms in Vb.net Pin
Chris Quinn9-Feb-14 21:14
Chris Quinn9-Feb-14 21:14 
QuestionSelect statement with checkbox Pin
Gentry_389-Feb-14 17:48
Gentry_389-Feb-14 17:48 
AnswerRe: Select statement with checkbox Pin
Mycroft Holmes9-Feb-14 17:56
professionalMycroft Holmes9-Feb-14 17:56 
GeneralRe: Select statement with checkbox Pin
Gentry_389-Feb-14 18:23
Gentry_389-Feb-14 18:23 
GeneralRe: Select statement with checkbox Pin
Gentry_389-Feb-14 18:29
Gentry_389-Feb-14 18:29 
QuestionEmbed VLC in VB.net 2008 Express Edition Pin
Almas Akhtr9-Feb-14 3:16
Almas Akhtr9-Feb-14 3:16 
AnswerRe: Embed VLC in VB.net 2008 Express Edition Pin
Dave Kreskowiak9-Feb-14 4:57
mveDave Kreskowiak9-Feb-14 4:57 
Questionlinking multiple tables(3 or more tables) using sql select query in vb6 Pin
Member 102487687-Feb-14 0:32
Member 102487687-Feb-14 0:32 
hI my name is vishal. I building vb6 application with ms access using adodb. I have a form which contains label,combobox and 2 buttons.The form loads required data that I use when combobox is clicked.But given below is line where I am getting errors. The query below I take from 4 tables.

table1: name:Inward
Column Name DataType
mfr_ref_number Text
no_of_bundle Integer
supplier_id Integer
DC_date Date/Time
INV_date Date/Time
row_upd_date Date/Time
courier_name Text
inward_type Text
user_id Long(contains values 0 for all)
DC_NO Text
closed_status Boolean(true for some agn only)
to_dept Text
agn Long

table2:name:item_mater
Column Name DataType
user_id Long(contains 0 as value for all)
row_upd_date Date/Time
status Boolean
item_name Text
item_parent Long
item_price Double
item_desc1 Memo
item_desc2 Memo
item_desc3 Memo
item_type Long
item_code Text
agn Long
measure_type Text

table3:name: Stock_Register
Column Name DataType
row_upd_date Date/Time
technician_id Long
user_id Long(contains 0 as value for all entries)
in_out_type Integer
status Boolean
item_id Long
qty_debit Double
qty_credit Double
in_out_id Long
store_no Long
sl_no Text
ref_id Long

table4:name:store_master
ColumnName DataType
rack_name Text
rack_desc Memo
user_id Long(contains 0 as value for all entries)
row_upd_date Date/Time
status Boolean
store_no Long

I have to show agn field from table named Inward,item_name field from table named item_master,no_of_bundle field from table named Inward,rack_name field from table named store_master,store_no field from table named store_master.
When I tried the below query I get message that datas are not found for any agn. But in fact there are datas for agn I just need to check with another table named Stock_Register. i have tried query below:
VB
SELECT [Inward].[agn], [item_master].[item_name], [Inward].[no_of_bundle], [store_master].[rack_name], [store_master].[store_no]
FROM (Inward INNER JOIN store_master ON [Inward].[store_no]=[store_master].[store_no]) INNER JOIN item_master ON [store_master].[user_id]=[item_master].[user_id]
WHERE [item_master].[status]=True And [Inward].[deleted_status]=False And [Inward].[closed_status]=False And [Inward].[agn]<>0 And [store_master].[status]=True;

Can anyone help me guide in fixing my sql select query using joins.Any help or guidance would be greatly appreciated.
AnswerRe: linking multiple tables(3 or more tables) using sql select query in vb6 Pin
Dave Kreskowiak7-Feb-14 7:44
mveDave Kreskowiak7-Feb-14 7:44 
AnswerRe: linking multiple tables(3 or more tables) using sql select query in vb6 Pin
Tim Carmichael7-Feb-14 7:53
Tim Carmichael7-Feb-14 7:53 
SuggestionRe: linking multiple tables(3 or more tables) using sql select query in vb6 Pin
Mycroft Holmes8-Feb-14 13:25
professionalMycroft Holmes8-Feb-14 13:25 
GeneralRe: linking multiple tables(3 or more tables) using sql select query in vb6 Pin
SoMad8-Feb-14 13:53
professionalSoMad8-Feb-14 13:53 
GeneralRe: linking multiple tables(3 or more tables) using sql select query in vb6 Pin
Mycroft Holmes8-Feb-14 16:23
professionalMycroft Holmes8-Feb-14 16:23 
GeneralRe: linking multiple tables(3 or more tables) using sql select query in vb6 Pin
Eddy Vluggen8-Feb-14 23:58
professionalEddy Vluggen8-Feb-14 23:58 
QuestionInsert ComboBox records into SQL table Pin
Gentry_386-Feb-14 12:34
Gentry_386-Feb-14 12:34 
AnswerRe: Insert ComboBox records into SQL table Pin
Richard Deeming7-Feb-14 1:41
mveRichard Deeming7-Feb-14 1:41 
GeneralRe: Insert ComboBox records into SQL table Pin
Gentry_387-Feb-14 10:12
Gentry_387-Feb-14 10:12 
GeneralRe: Insert ComboBox records into SQL table Pin
Richard Deeming7-Feb-14 10:48
mveRichard Deeming7-Feb-14 10:48 
GeneralRe: Insert ComboBox records into SQL table Pin
Gentry_388-Feb-14 10:06
Gentry_388-Feb-14 10:06 
QuestionSavefieldialog and Folderbrowserdialog Pin
Tsunamipudip5-Feb-14 17:51
Tsunamipudip5-Feb-14 17:51 
AnswerRe: Savefieldialog and Folderbrowserdialog Pin
Richard MacCutchan5-Feb-14 22:42
mveRichard MacCutchan5-Feb-14 22:42 
Questionexporting vb6 data from ms access to PDF using sql select query Pin
Member 102487684-Feb-14 20:39
Member 102487684-Feb-14 20:39 
AnswerRe: exporting vb6 data from ms access to PDF using sql select query Pin
Chris Quinn4-Feb-14 20:48
Chris Quinn4-Feb-14 20:48 
GeneralRe: exporting vb6 data from ms access to PDF using sql select query Pin
Member 102487684-Feb-14 21:49
Member 102487684-Feb-14 21:49 
GeneralRe: exporting vb6 data from ms access to PDF using sql select query Pin
Chris Quinn5-Feb-14 4:52
Chris Quinn5-Feb-14 4:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.