Changeset 7a71912 in tol for tolbase


Ignore:
Timestamp:
Nov 3, 2008, 10:21:50 AM (18 years ago)
Author:
Jaime García <jgarcia@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
8545aac
Parents:
b0de6b5
Message:

Modificado el acceso a las funciones SqlInfoColumns, accediendo a ellas a partir del nameblock donde están generadas:

StdLib::SqlEngine::SqlInfoColumns

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@107 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/byswidget/beditmaster/beditmaster.tcl

    rb0de6b5 r7a71912  
    940940  #///////////////////////////////////////////////////////////////////////////
    941941    # grid of objects
    942     for {set x 1} {$x<=$maxFields} {incr x} {
     942    for {set x 1} {$x<=$maxFields} {incr x} {   
    943943      switch [lindex $fieldInfo($x,field,type) 0] {
    944944          "bit" {
    … …  
    20982098    set table $tablename
    20992099    set tolGes [SqlGetTolGestor $gestor]
    2100 
     2100   
    21012101    # Obtenemos informacion de los campos
    21022102    set infoColumns [GetGlobalUniqueName __infoColumns[clock second]]
    21032103    set cmdIC infoColums[clock clicks]
    2104     set cmdTIC "Set $infoColumns = SqlInfoColumns(\"$table\", $tolGes);"
     2104   
     2105    #set cmdTIC "Set $infoColumns = SqlInfoColumns(\"$table\", $tolGes);"
     2106    set cmdTIC "Set $infoColumns = StdLib::SqlEngine::SqlInfoColumns(\"$table\", $tolGes);"
     2107
    21052108    ::tol::console eval $cmdTIC
    21062109    # check exists variable
    … …  
    21152118    set infoForeignKeys [GetGlobalUniqueName __infoForeignKeys[clock second]]
    21162119    set cmdIF infoForeignKeys[clock clicks]
    2117     set cmdTIF "Set $infoForeignKeys = SqlInfoForeign(\"$table\", $tolGes);"
     2120    #set cmdTIF "Set $infoForeignKeys = SqlInfoForeign(\"$table\", $tolGes);"
     2121    set cmdTIF "Set $infoForeignKeys = StdLib::SqlEngine::SqlInfoForeign(\"$table\", $tolGes);"
     2122   
    21182123    ::tol::console eval $cmdTIF
    21192124    # check exists variable
    … …  
    23392344      set infoColumns [GetGlobalUniqueName __infoColumns$step[clock second]]
    23402345      set cmdIC infoColums$step[clock clicks]
    2341       set cmdTIC "Set $infoColumns = SqlInfoColumns(\"$tableFk\", $tolGes);"
     2346      #set cmdTIC "Set $infoColumns = SqlInfoColumns(\"$tableFk\", $tolGes);"+
     2347      set cmdTIC "Set $infoColumns = StdLib::SqlEngine::SqlInfoColumns(\"$tableFk\", $tolGes);"
     2348   
    23422349      ::tol::console eval $cmdTIC
    23432350      # check exists variable
Note: See TracChangeset for help on using the changeset viewer.