Here is some code that I was going to use during implementation that
takes some data from tables and populates them in the vb field. Sounds
like you want to do something very similar:
/***********************************************************************
***
Description: This program pulls Benchstock, Bulk Issue and MPI
information
from previous revisions from the ECORev table
Vantage 6.1
-----------------
************************************************************************
***/
/* INCLUDE vb.i SO THAT VantageBasic FUNCTIONS ARE AVAILABLE. */
{vbp/vb.i}
DEFINE VARIABLE pn AS char NO-UNDO.
find first EcoRev Where RowID(EcoRev) = GetCurrentRowID() no-lock
no-error.
pn = EcoRev.PartNum.
release EcoRev.
find EcoRev where (PartNum = pn) and
(RevisionNum = getStringValue("PrevRev.ScrValue")) no-lock
no-error.
if available (EcoRev) then do:
setStringValue("MPI.ScrValue", EcoRev.Character01).
setStringValue("Benchstock.ScrValue", EcoRev.Character02).
setStringValue("BulkIssue.ScrValue", EcoRev.Character03).
end.
else
Message "Previous revision information is not available."
View-as alert-box information buttons ok.
release EcoRev.
RETURN.
Butch
________________________________
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of joeynsknew
Sent: Thursday, October 27, 2005 10:05 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Vantage 6.1 - Vantage Basic
Have Anybody have experience in Vantage Basic , I want to create a VB
form in SO detail , and used Char1 field (orderdtl.char1) , I want to
create a Button that can copy content from the part.char1 , How can I
do this ? any advise are appreciated , Thanks
Joey
TTG
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
SPONSORED LINKS
Manufacturing software
<http://groups.yahoo.com/gads?t=ms&k=Manufacturing+software&w1=Manufactu
ring+software&w2=Membership+database+software&w3=Database+mortgage+softw
are&w4=Pda+database+software&w5=Database+management+software&w6=Database
+marketing+software&c=6&s=188&.sig=OG5F3819UOUOg63i0bu6kA>
Membership database software
<http://groups.yahoo.com/gads?t=ms&k=Membership+database+software&w1=Man
ufacturing+software&w2=Membership+database+software&w3=Database+mortgage
+software&w4=Pda+database+software&w5=Database+management+software&w6=Da
tabase+marketing+software&c=6&s=188&.sig=N5BGdur84p-jyuOomcQdbQ>
Database mortgage software
<http://groups.yahoo.com/gads?t=ms&k=Database+mortgage+software&w1=Manuf
acturing+software&w2=Membership+database+software&w3=Database+mortgage+s
oftware&w4=Pda+database+software&w5=Database+management+software&w6=Data
base+marketing+software&c=6&s=188&.sig=8rvcSQnCqJhTCZu-0Si39A>
Pda database software
<http://groups.yahoo.com/gads?t=ms&k=Pda+database+software&w1=Manufactur
ing+software&w2=Membership+database+software&w3=Database+mortgage+softwa
re&w4=Pda+database+software&w5=Database+management+software&w6=Database+
marketing+software&c=6&s=188&.sig=u3KQrTRPAQfsWIT39aHDkg> Database
management software
<http://groups.yahoo.com/gads?t=ms&k=Database+management+software&w1=Man
ufacturing+software&w2=Membership+database+software&w3=Database+mortgage
+software&w4=Pda+database+software&w5=Database+management+software&w6=Da
tabase+marketing+software&c=6&s=188&.sig=R3CF3ODPY4gwjDZjykQYvw>
Database marketing software
<http://groups.yahoo.com/gads?t=ms&k=Database+marketing+software&w1=Manu
facturing+software&w2=Membership+database+software&w3=Database+mortgage+
software&w4=Pda+database+software&w5=Database+management+software&w6=Dat
abase+marketing+software&c=6&s=188&.sig=lmBkRUiBtvHI1u5dkymDcw>
________________________________
YAHOO! GROUPS LINKS
* Visit your group "vantage
<http://groups.yahoo.com/group/vantage> " on the web.
* To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com
<mailto:vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
________________________________
[Non-text portions of this message have been removed]
takes some data from tables and populates them in the vb field. Sounds
like you want to do something very similar:
/***********************************************************************
***
Description: This program pulls Benchstock, Bulk Issue and MPI
information
from previous revisions from the ECORev table
Vantage 6.1
-----------------
************************************************************************
***/
/* INCLUDE vb.i SO THAT VantageBasic FUNCTIONS ARE AVAILABLE. */
{vbp/vb.i}
DEFINE VARIABLE pn AS char NO-UNDO.
find first EcoRev Where RowID(EcoRev) = GetCurrentRowID() no-lock
no-error.
pn = EcoRev.PartNum.
release EcoRev.
find EcoRev where (PartNum = pn) and
(RevisionNum = getStringValue("PrevRev.ScrValue")) no-lock
no-error.
if available (EcoRev) then do:
setStringValue("MPI.ScrValue", EcoRev.Character01).
setStringValue("Benchstock.ScrValue", EcoRev.Character02).
setStringValue("BulkIssue.ScrValue", EcoRev.Character03).
end.
else
Message "Previous revision information is not available."
View-as alert-box information buttons ok.
release EcoRev.
RETURN.
Butch
________________________________
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of joeynsknew
Sent: Thursday, October 27, 2005 10:05 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Vantage 6.1 - Vantage Basic
Have Anybody have experience in Vantage Basic , I want to create a VB
form in SO detail , and used Char1 field (orderdtl.char1) , I want to
create a Button that can copy content from the part.char1 , How can I
do this ? any advise are appreciated , Thanks
Joey
TTG
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
SPONSORED LINKS
Manufacturing software
<http://groups.yahoo.com/gads?t=ms&k=Manufacturing+software&w1=Manufactu
ring+software&w2=Membership+database+software&w3=Database+mortgage+softw
are&w4=Pda+database+software&w5=Database+management+software&w6=Database
+marketing+software&c=6&s=188&.sig=OG5F3819UOUOg63i0bu6kA>
Membership database software
<http://groups.yahoo.com/gads?t=ms&k=Membership+database+software&w1=Man
ufacturing+software&w2=Membership+database+software&w3=Database+mortgage
+software&w4=Pda+database+software&w5=Database+management+software&w6=Da
tabase+marketing+software&c=6&s=188&.sig=N5BGdur84p-jyuOomcQdbQ>
Database mortgage software
<http://groups.yahoo.com/gads?t=ms&k=Database+mortgage+software&w1=Manuf
acturing+software&w2=Membership+database+software&w3=Database+mortgage+s
oftware&w4=Pda+database+software&w5=Database+management+software&w6=Data
base+marketing+software&c=6&s=188&.sig=8rvcSQnCqJhTCZu-0Si39A>
Pda database software
<http://groups.yahoo.com/gads?t=ms&k=Pda+database+software&w1=Manufactur
ing+software&w2=Membership+database+software&w3=Database+mortgage+softwa
re&w4=Pda+database+software&w5=Database+management+software&w6=Database+
marketing+software&c=6&s=188&.sig=u3KQrTRPAQfsWIT39aHDkg> Database
management software
<http://groups.yahoo.com/gads?t=ms&k=Database+management+software&w1=Man
ufacturing+software&w2=Membership+database+software&w3=Database+mortgage
+software&w4=Pda+database+software&w5=Database+management+software&w6=Da
tabase+marketing+software&c=6&s=188&.sig=R3CF3ODPY4gwjDZjykQYvw>
Database marketing software
<http://groups.yahoo.com/gads?t=ms&k=Database+marketing+software&w1=Manu
facturing+software&w2=Membership+database+software&w3=Database+mortgage+
software&w4=Pda+database+software&w5=Database+management+software&w6=Dat
abase+marketing+software&c=6&s=188&.sig=lmBkRUiBtvHI1u5dkymDcw>
________________________________
YAHOO! GROUPS LINKS
* Visit your group "vantage
<http://groups.yahoo.com/group/vantage> " on the web.
* To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com
<mailto:vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
________________________________
[Non-text portions of this message have been removed]