ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

من يه مشكل تو اكسس دارم كمك F1 F1 F1

 
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET
View previous topic :: View next topic  
Author Message
mojtabax
مهمون يكي دو روزه


Joined: 18 Mar 2005
Posts: 49
Location: Shiraz

PostPosted: Thu Apr 28, 2005 10:57 am    Post subject: من يه مشكل تو اكسس دارم كمك F1 F1 F1 Reply with quote

من مي خوام وقتي توي يه Table موردي رو سرچ مي كنم در صورت پيدا نشدن يه پيغام مناسب بدهد حال چه كنم ...
dim str as string
str = select * from main where main.name = forms!form1!nameeditbox
docmd.openform "form1"; :cry:
forms!form1.control.source = str


----
براي ارسال درست كدها . كدها را انتخاب كن و دكمه code رو بزن .
Back to top
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 3067
Location: Tehran

PostPosted: Thu Apr 28, 2005 10:17 pm    Post subject: Reply with quote

اين اگه مرتبط به VB هست تو همون بخش VB بپرس ...
Back to top
unknown
مدير بخش ويژوال بيسيك
مدير بخش ويژوال بيسيك


Joined: 05 Dec 2004
Posts: 439
Location: Tehran

PostPosted: Fri Apr 29, 2005 9:24 am    Post subject: Reply with quote

اکسس نمنه
Back to top
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 3067
Location: Tehran

PostPosted: Fri Apr 29, 2005 12:58 pm    Post subject: Reply with quote

اگه يه مقدار بيشتر توضيح بدي فكر كنم بهتر باشه . اما من انقدري ميدونم كه وقتي مقداري پيدا نشه . nomatch ارزش true ميگيره :
if data.recordset.nomatch=true then
....
end if
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET All times are GMT + 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum