Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21839

adding data to text boxes instead of database

$
0
0
i have a bit of work to do based on something i have done before

expect this time instead of adding the info to a database i want to populate the text boxes on my screen

here is the code
Code:

Public Sub Annually(SecID As String, INTSTRTDTE As String, INTENDDTE As String) 
 
Dim dteRunningDate As Date 
Dim i As Integer 
Dim intInterval As Integer 
Dim sTempCalendar As String 
Dim sid As String 
 Dim sSql As String 
 Dim Seq As String 
Dim sTempCCY As String 
 
 
 
 
   
 Seq = 0 
 dteRunningDate = DateAdd("m", 12, INTSTRTDTE) 
 
    Do While dteRunningDate <= INTENDDTE 
     
 
Debug.Print SecID & vbTab; Seq & vbTab; INTSTRTDTE & vbTab & dteRunningDate 
      INTSTRTDTE = dteRunningDate 
   
        dteRunningDate = DateAdd("m", 12, dteRunningDate) 
         
        Seq = Seq + 1 
 
  Loop 
   
 
 
End Sub

so i was just wondering is there a way of doing it without have to list all the textboxes

Viewing all articles
Browse latest Browse all 21839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>